package com.bert.base.service.impl;

import com.bert.base.entity.LotteryEntity;
import com.bert.base.mapper.LotteryMapper;
import com.bert.base.service.LotteryService;
import com.bert.base.service.impl.common.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LotteryServiceImpl extends BaseServiceImpl<LotteryEntity> implements LotteryService {

    @Resource
    private LotteryMapper lotteryMapper;

    @Override
    public List<LotteryEntity> selectAll() throws Exception {
        return lotteryMapper.selectAll();
    }
}
